<body>
<div id="root">
<div id="child"></div>
</div>
<script>
var o = new IntersectionObserver(function(){}, {root: root});
o.observe(child);
parent.move(root);
</script>
</body>
